	<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8" />
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<title>梦境迷离</title>
<link rel="stylesheet" th:href="@{/layui/css/layui.css}" media="all" />
<link rel="stylesheet" th:href="@{/build/css/app.css}" media="all" />
</head>
<body>
	<div class="layui-layout layui-layout-admin kit-layout-admin">
		<div class="layui-header">
			<div class="layui-logo">梦境迷离</div>
			<div class="layui-logo kit-logo-mobile">K</div>
			<ul class="layui-nav layui-layout-left kit-nav" kit-one-level>
				<li class="layui-nav-item"><a th:href="@{/index/home.html}"><i class="layui-icon" style="float: center;">&#xe68e;</i>&nbsp;博客首页</a></li>
			</ul>
			<ul class="layui-nav layui-layout-right kit-nav">
				<li class="layui-nav-item"><a href="javascript:;"> 
				<img id="imageName" class="layui-nav-img">
						<span th:text="${session.currentUser.userName}">用户名</span>
				</a> <!-- 	<dl class="layui-nav-child">
						 <dd>
							<a href="javascript:;" th:href="@{/views/modifyBloggerInfo.html}">修改资料</a>
						</dd> 
					<dd>
							<a href="javascript:;">修改密码</a>
						</dd>
					</dl> --></li>
				<li class="layui-nav-item">
				<a href="/admin/blogger/logout"> <i class="fa fa-sign-out" aria-hidden="true">
					</i> <i class="layui-icon" style="float: center;">&#xe65c;</i>&nbsp;安全退出
				</a></li>
			</ul>
		</div>
		<!-- 左侧菜单栏 -->
		<div class="layui-side layui-bg-black kit-side" lay-filter="refresh">
			<div class="layui-side-scroll">
				<div class="kit-side-fold">
					<i class="layui-icon" style="float: center;">&#xe65f;</i><i
						class="fa fa-navicon" aria-hidden="true"></i>
				</div>
				<!-- 左侧导航区域（可配合layui已有的垂直导航） -->
				<ul class="layui-nav layui-nav-tree" lay-filter="kitNavbar"
					kit-navbar>
					<li class="layui-nav-item"><a class="" href="javascript:;">
							<i class="fa fa-plug" aria-hidden="true"></i><i
							class="layui-icon">&#xe63c; </i><span> 博客</span>
					</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/writeBlog.html',icon:'&#xe642;',title:'写博客',id:'1'}">
									<i class="layui-icon">&#xe642;</i><span> 写博客</span>
								</a>
							</dd>
							<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/blogManage.html',icon:'&#xe705;',title:'全部博客',id:'2'}">
									<i class="layui-icon">&#xe705;</i><span> 全部博客</span>
								</a>
							</dd>
						</dl></li>

					<li class="layui-nav-item"><a class="" href="javascript:;">
							<i class="fa fa-plug" aria-hidden="true"></i> <i
							class="layui-icon">&#xe606;</i><span> 留言</span>
					</a>
						<dl class="layui-nav-child">
							<!-- <dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/commentManage.html',icon:'&#xe63a;',title:'全部评论',id:'3'}">
									<i class="layui-icon">&#xe63a;</i><span> 全部评论</span>
								</a>
							</dd> -->
							<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/messageManage.html',icon:'&#xe63a;',title:'全部留言',id:'4'}">
									<i class="layui-icon">&#xe63a;</i><span> 全部留言</span>
								</a>
							</dd>
						<!-- 	<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/commentReview.html',icon:'&#xe6b2;',title:'评论审核',id:'5'}">
									<i class="layui-icon">&#xe6b2;</i><span> 评论审核</span>
								</a>
							</dd> -->
							<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/messageReview.html',icon:'&#xe6b2;',title:'留言审核',id:'6'}">
									<i class="layui-icon">&#xe6b2;</i><span> 留言审核</span>
								</a>
							</dd>
						</dl></li>

					<li class="layui-nav-item"><a class="" href="javascript:;">
							<i class="fa fa-plug" aria-hidden="true"></i> <i
							class="layui-icon">&#xe60a;</i><span> 类别</span>
					</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/blogTypeManage.html',icon:'&#xe60a;',title:'全部类别',id:'7'}">
									<i class="layui-icon">&#xe60a;</i><span> 全部类别</span>
								</a>
							</dd>
							<!-- 	<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/test.html',icon:'&#xe61f;',title:'添加类别',id:'6'}">
									<i class="layui-icon">&#xe61f;</i><span> 添加类别</span>
								</a>
							</dd> -->
						</dl></li>
							<li class="layui-nav-item"><a class="" href="javascript:;">
							<i class="fa fa-plug" aria-hidden="true"></i> <i
							class="layui-icon">&#xe645;</i><span> 公告</span>
								</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/noticeManage.html',icon:'&#xe645;',title:'全部公告',id:'8'}">
									<i class="layui-icon">&#xe645;</i><span> 全部公告</span>
								</a>
							</dd>
						</dl></li>
					<li class="layui-nav-item"><a class="" href="javascript:;">
							<i class="fa fa-plug" aria-hidden="true"></i><i
							class="layui-icon">&#xe64c;</i> <span> 链接</span>
					</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/linkManage.html',icon:'&#xe64c;',title:'全部链接',id:'9'}">
									<i class="layui-icon">&#xe64c;</i><span> 全部链接</span>
								</a>
							</dd>
							<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/addLinkForm.html',icon:'&#xe61f;',title:'添加链接',id:'10'}">
									<i class="layui-icon">&#xe61f;</i><span> 添加链接</span>
								</a>
							</dd>
						</dl></li>
					<li class="layui-nav-item"><a class="" href="javascript:;">
							<i class="fa fa-plug" aria-hidden="true"></i><i
							class="layui-icon">&#xe60d;</i> <span> 相册</span>
					</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/pictureUpload.html',icon:'&#xe62f;',title:'图片上传',id:'15'}">
									<i class="layui-icon">&#xe62f;</i><span> 图片上传</span>
								</a>
							</dd>
							<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/pictureManage.html',icon:'&#xe7a0;',title:'图片管理',id:'14'}">
									<i class="layui-icon">&#xe7a0;</i><span> 图片管理</span>
								</a>
							</dd>
						</dl></li>


					<li class="layui-nav-item"><a class="" href="javascript:;">
							<i class="fa fa-plug" aria-hidden="true"></i> <i
							class="layui-icon">&#xe614;</i><span> 系统与设置</span>
					</a>
						<dl class="layui-nav-child">
							<dd>
								<a  href="javascript:;" kit-target
									data-options="{url:'/views/refreshSystem',icon:'&#x1002;',title:'刷新缓存',id:'11'}">
									<i lay-id="refresh" class="layui-icon">&#x1002;</i><span> 初始化系统</span>
								</a>
							</dd>
							<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/druid',icon:'&#x1002;',title:'SQL监控',id:'16'}">
									<i lay-id="sql" class="layui-icon">&#xe629;</i><span> SQL监控</span>
								</a>
							</dd>
							<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/modifyBloggerInfo.html',icon:'&#xe642;',title:'修改资料',id:'12'}">
									<i class="layui-icon">&#xe642;</i><span> 修改资料</span>
								</a>
							</dd>
							<dd>
								<a href="javascript:;" kit-target
									data-options="{url:'/views/modifyPassword.html',icon:'&#xe616;',title:'修改密码',id:'13'}">
									<i class="layui-icon">&#xe616;</i><span> 修改密码</span>
								</a>
							</dd>

						</dl></li>

				</ul>
			</div>
		</div>


		<div class="layui-body" id="container">
			<!-- 内容主体区域 -->
			<!-- <div style="padding: 15px;">主体内容加载中,请稍等...</div> -->
		</div>

		<div class="layui-footer">
			<!-- 底部固定区域 -->
			2017 &copy; <a href="https://www.dreamylost.cn">www.dreamylost.cn</a>
			MIT license
		</div>
	</div>
	<script th:src="@{/layui/layui.js}" charset="utf-8"></script>
	<script th:inline="javascript" type="text/javascript">
	var message;
	layui.config({
		base : '../build/js/'
	}).use([ 'app', 'message' ], function() {
		var app = layui.app, $ = layui.jquery, layer = layui.layer;
		//将message设置为全局以便子页面调用
		message = layui.message;
		//主入口
		app.set({
			type : 'iframe'
		}).init();
		//显示博主头像
		$("#imageName").attr('src','../uploads/'+[[${session.currentUser.imageName}]]);
		$('#pay').on('click', function() {
			layer.open({
				title : false,
				type : 1,
				content : '<img src="/build/images/pay.png" />',
				area : [ '500px', '250px' ],
				shadeClose : true
			});
		});
	});
</script>
</body>
</html>